
                        <div class="box-body">

                                <div class="form-group">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <button type="button" onclick="HF.showDialog('${base}/admin/batteryBox/status?no=${no}')" class="btn btn-primary">刷新</button>
                                        </div>
                                    </div>
                                </div>
                            <table class="table table-bordered">
                                <tr>
                                    <th>SequenceNo</th>
                                        <th>电池柜Code</th>
                                        <th>箱子Code</th>
                                        <th>电池Code</th>
                                        <th>电池Status</th>
                                        <th>zdy</th>
                                        <th>dl</th>
                                        <th>电池箱Status</th>
                                        <th style="width: 80px;">预警Status</th>
                                        <th style="width: 80px;">可用Status</th>
                                        <th style="width: 80px;">ActionList</th>
                                </tr>
                               <#if list??&&list?size gt 0>
                               <#list list as t>
                                        <td>${t_index+1}</td>
                                            <td>${(t.gid)!}</td>
                                            <td>${(t.xid)!}</td>
                                            <td>${(t.did)!}</td>
                                            <td>${(t.batteryState)!}</td>
                                            <td>${(t.zdy)!}</td>
                                            <td>${(t.dl)!}</td>
                                            <td >${(t.boxState)!}</td>
                                            <td <#if t.alarm?? && t.alarm=='1'>style='background-color:orange'</#if>>${(t.alarm)!}</td>
                                            <td <#if t.invalidState?? && t.invalidState=='1'>style='background-color:orange'</#if>>${(t.invalidState)!}</td>
                                            <td>
                                                <a href="#" onclick="confirmToSet('${(t.gid)!}','${(t.xid)!}',1)">设置Invalid</a><br>
                                                <a href="#" onclick="confirmToSet('${(t.gid)!}','${(t.xid)!}',0)">设置Valid</a>
                                            </td>
                                    </tr>
                                    </#list>
                                    <#else>
                                        <td colspan="11" align="center">no record!</td>

                                </#if>
                            </table>
                        </div>